package com.px.mbg.model;

import java.math.BigDecimal;
import com.px.mbg.base.BaseEntity;
import java.time.LocalDate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 销售出货计划详细表
 * </p>
 *
 * @author 品讯科技
 * @since 2022-09-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="SaleShippingOrderItem对象", description="销售出货计划详细表")
public class SaleShippingOrderItem extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "销售出货单ID")
    private Long shippingOrderId;

    @ApiModelProperty(value = "需求分类号(销售订单号)")
    private String saleOrderId;

    @ApiModelProperty(value = "行号")
    private String lineNo;

    @ApiModelProperty(value = "料号")
    private String materialCode;

    @ApiModelProperty(value = "品名")
    private String materialName;

    @ApiModelProperty(value = "规格")
    private String specification;

    @ApiModelProperty(value = "数量")
    private BigDecimal pcsNum;

    @ApiModelProperty(value = "库存单位")
    private String pcsUnit;

    @ApiModelProperty(value = "销售单位")
    private String saleUnit;

    @ApiModelProperty(value = "销售数量")
    private BigDecimal saleNum;

    @ApiModelProperty(value = "计价单位")
    private String cvpUnit;

    @ApiModelProperty(value = "计价数量")
    private BigDecimal cvpNum;

    @ApiModelProperty(value = "存储地点")
    private String storeAddress;

    @ApiModelProperty(value = "库存编码")
    private String storeBinCode;

    @ApiModelProperty(value = "批号")
    private String batchNo;

    @ApiModelProperty(value = "收货位置")
    private String deliveryLocation;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "组织ID")
    private Long organizationId;

    @ApiModelProperty(value = "计划出货量")
    private BigDecimal planNum;

    @ApiModelProperty(value = "已出货量")
    private BigDecimal finishNum;

    @ApiModelProperty(value = "交货日期")
    private LocalDate deliveryDate;

    @ApiModelProperty(value = "行ID")
    private Long lineId;


}
